home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Online / Apache / include / apache / os.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-06  |  816 b   |  34 lines

  1. #ifndef APACHE_OS_H
  2. #define APACHE_OS_H
  3. /*
  4.  * This file in included in all Apache source code. It contains definitions
  5.  * of facilities available on _this_ operating system (HAVE_* macros),
  6.  * and prototypes of OS specific functions defined in os.c or os-inline.c
  7.  */
  8.  
  9. #define PLATFORM "AMIGA"
  10.  
  11. #define HAVE_CANONICAL_FILENAME
  12.  
  13. #if !defined(INLINE) && defined(USE_GNU_INLINE)
  14. /* Compiler supports inline, so include the inlineable functions as
  15.  * part of the header
  16.  */
  17. #define INLINE extern ap_inline
  18. #include "os-inline.c"
  19. #endif
  20.  
  21. #ifndef INLINE
  22. /* Compiler does not support inline, so prototype the inlineable functions
  23.  * as normal
  24.  */
  25. #endif
  26.  
  27. /* Other ap_os_ routines not used by this platform */
  28.  
  29. #define ap_os_is_filename_valid(f)            (1)
  30.  
  31. #define ap_os_kill(pid, sig)                kill(pid, sig)
  32.  
  33. #endif /*APACHE_OS_H*/
  34.